package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.vo.Approval.ApprovalForm.ApprovalCategoryVO;
import com.ruoyi.system.domain.vo.Approval.ApprovalForm.ApproverVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ApprovalFormMapper {
    public List<ApproverVO> selectApprovers();

    public List<ApprovalCategoryVO> selectApprovalCategoriesByDefaultApproverId(int defaultApproverId);

    //移动至的按钮
    public int changeDefaultApprover(@Param("id") int id,@Param("nextId") int nextId);
}
